include "./vendor/premake/premake_customization/solution_items.lua"

workspace "DreamEngine"
	architecture "x86_64"
	startproject "Sandbox"

	configurations
	{
		"Debug",
		"Release",
		"Dist"
	}

	solution_items
	{
		".editorconfig"
	}

	flags
	{
		"MultiProcessorCompile"
	}

outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"

-- Include directories relative to root folder (solution directory)
IncludeDir = {}
IncludeDir["GLFW"] = "%{wks.location}/Dream/vendor/glfw/include"
IncludeDir["GLad"] = "%{wks.location}/Dream/vendor/glad/include"
IncludeDir["ImGui"] = "%{wks.location}/Dream/vendor/imgui_docking"
IncludeDir["glm"] = "%{wks.location}/Dream/vendor/glm"
IncludeDir["stb_image"] = "%{wks.location}/Dream/vendor/stb_image"
IncludeDir["entt"] = "%{wks.location}/Dream/vendor/entt/include"
IncludeDir["Vulkan"] = os.getenv("VULKAN_SDK") 


group "Deps"
	include "vendor/premake"
	include "Dream/vendor/glfw"
	include "Dream/vendor/glad"
	include "Dream/vendor/imgui_docking"

group ""
	include "Dream"
	include "Sandbox"
	include "Dream-Editor"
